package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.LogisticsCompanies;
import com.example.mall.dto.LogisticsCompaniesDto;
import com.example.mall.query.LogisticsCompaniesQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 物流公司表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-16
 */
public interface ILogisticsCompaniesService extends IService<LogisticsCompanies> {

    //分页查询物流公司表信息
    PageDTO<LogisticsCompaniesDto> queryPage(LogisticsCompaniesQuery logisticsCompaniesQuery);

    //根据id查询物流公司表信息
    LogisticsCompanies queryLogisticsCompaniesById(Long campanyId);

    //查询全部物流公司表信息
    List<LogisticsCompanies> queryLogisticsCompaniesList();

    //新增物流公司表
    void insert(LogisticsCompaniesDto logisticsCompaniesDto);

    //修改物流公司表信息
    void update(LogisticsCompaniesDto logisticsCompaniesDto);

    //删除物流公司表信息
    void delete(Long campanyId);

    //批量删除物流公司表信息
    void deleteBatch(List<Long> campanyIds);
}
